using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebSMS;

public interface ITerUser
{
    public Task<UserPo> Login(string username, string password);
    public Task<bool> UpdateUser(UserPo userPo);
    public Task<bool> DeleteUser(Guid userId);
    public Task<List<UserRuleResponse>> GetUserList(string username,int page,int size);
    public Task<PagedList<UserPo>> GetRecoveryUserList(int page, int size);
    public Task<bool> RecoveryUser(Guid id);
    
    public Task<bool> BannedUserById(Guid userId);
    
    public Task<bool> EnableUser(Guid userId);
    public Task<bool> VerifyUserPassword(string username,string password);
    public int GetUserCount();
    public IQueryable GetUserGroupByCreateDate();
    public IQueryable GetUserGroupByBanDate();
    public IQueryable GetUserGroupByDelDate();
  
}